# -*- encoding: utf-8 -*-
# author:lmolhw
# datetime:2020-12-23 15:15

"""
文件说明：
    清洗 /data2/dtj/DTJCOMP/ppccddff/new_train_labeled.txt
"""

def open_txt(file_name):
    with open(file_name, 'r') as f:
        try:
            line = f.readline()
            while line:
                yield line.strip()
                line = f.readline()
        except:
            print('No value')

file_path = '/data2/dtj/DTJCOMP/ppccddff/new_train_labeled.txt'
